# 生成动态库
add_library(time SHARED timer.h timer.cpp)

#
target_compile_options(time PRIVATE "-O0")

# 设置输出路径
set(LIBRARY_OUTPUT_PATH ${RELEASE_DIR}/lib/${CMAKE_PROJECT_NAME})